<script setup>
import { computed } from 'vue';

const props = defineProps({
	name: {
		type: String,
		required: true,
	},
});
const symbolId = computed(() => `#icon-${props.name}`);
</script>

<template>
	<svg aria-hidden="true">
		<use :xlink:href="symbolId" fill="current" />
	</svg>
</template>
